package text;

public class ParameterTest {
	   static void increment(int j) {
	        System.out.println("inside method, before increment: " + j);    //    2
	         j++;//++j;
	        System.out.println("inside method, after increment: " + j);      //   3
	   }
	   
	   public static void main(String[] args) {
	       int i = 2;
	       System.out.println("Outside method, before increment(), i= " + i); //2

	       increment(i); //
	       System.out.println("Outside method, after increment(), i= " + i);   //  2
	       
	       
	       // 2 2 3 2
	   }
	}

